package com.starbaba.weixin.model;

import com.base.common.reflection.annotations.g3db_alias;
import com.base.common.reflection.annotations.g3db_ignore;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Yukinomiu
 * @version 1.0
 */
@g3db_alias("weixin_menu_root")
public final class WeixinMenuRoot implements Serializable {

    @g3db_ignore
    private static final long serialVersionUID = 7023503277650386682L;
    @g3db_ignore
    public static final int WEIXIN_TYPE_SERVICE = 0;
    @g3db_ignore
    public static final int WEIXIN_TYPE_SUB = 1;

    @g3db_alias("id")
    private Long id;
    @g3db_alias("weixintype")
    private Integer weixinType;
    @g3db_alias("remark")
    private String remark;
    @g3db_alias("response")
    private String response;
    @g3db_alias("createtime")
    private Date createTime;

    public WeixinMenuRoot() {
    }

    public WeixinMenuRoot(Long id, Integer weixinType, String remark, String response, Date createTime) {
        this.id = id;
        this.weixinType = weixinType;
        this.remark = remark;
        this.response = response;
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "WeixinMenuRoot{" +
                "id=" + id +
                ", weixinType=" + weixinType +
                ", remark='" + remark + '\'' +
                ", response='" + response + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public WeixinMenuRoot setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getWeixinType() {
        return weixinType;
    }

    public WeixinMenuRoot setWeixinType(Integer weixinType) {
        this.weixinType = weixinType;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public WeixinMenuRoot setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getResponse() {
        return response;
    }

    public WeixinMenuRoot setResponse(String response) {
        this.response = response;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WeixinMenuRoot setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }
}
